package com.cloud.drore.eboss.supplier.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: 住宿实体类<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/8 10:36 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
@Data
@Table(name = "eboos_room")
public class Room extends BaseEntity<Long> {

    /** 所属酒店 */
    @JsonProperty("owner_hotel")
    @JSONField(name = "owner_hotel")
    @ApiModelProperty(name = "owner_hotel", notes = "所属酒店", example = "酒店")
    private Long ownerHotel;

    public interface SAVE{};

}